package com.example.bbs.dao;


import com.example.bbs.model.Reply;

import java.util.List;

/**
 * @auther: zhangxin
 * @Description:
 */
public interface ReplyDao {

    public List<Reply> findByPostId(int postId);

    public boolean addReply(Reply reply);

    public List<Reply> findByUserId(int userId);

    public boolean deleteReplyById(int replyId);

    public boolean updateReplyById(Reply reply);
}
